var models = require('../models');

// 通过uuid查找用户，包含已删除的
function findByUUIDIncludeDeleted(uuid, type) {
  return models[type].findOne({
    where: {
      uuid: uuid
    },
    paranoid: false
  });
}
exports.findByUUIDIncludeDeleted = findByUUIDIncludeDeleted;
